<?php

namespace app\admin\model;

use think\Model;
use traits\model\SoftDelete;

class Auth extends Model
{

    use SoftDelete;

    //  获取器
    public function getIsNavAttr($value)
    {
        $status = [
            0 => '否',
            1 => '是'
        ];
        return $status[$value];
    }


}
